package com.hqyj.service;

import com.alipay.api.domain.ObjectKeyWord;
import com.hqyj.entity.SearchBean;
import com.hqyj.pojo.TbBuilding;
import com.baomidou.mybatisplus.extension.service.IService;
import lombok.Data;

import java.lang.annotation.Target;
import java.util.HashMap;

/**
 * <p>
 * 楼栋表 服务类
 * </p>
 *
 * @author gp
 * @since 2021-09-25
 */
public interface TbBuildingService{
    //查询楼房表
    HashMap<String ,Object> List(TbBuilding building);

    //新增楼房
    HashMap<String ,Object> insert(TbBuilding building);

    //修改楼房
    HashMap<String ,Object> update(TbBuilding building);

    //删除
    HashMap<String ,Object> delete(Integer id);

    //按楼房名字查询
    HashMap<String ,Object> queryByName(String name);

    HashMap<String, Object> listPage(SearchBean searchBean);
}
